package com.ruoyi.schedule.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】业务对象
 *
 * @author xiaoqiang
 * @date 2022-11-03
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TaskinfoBo extends BaseEntity {

    /**
     * 任务id
     */
    //@NotNull(message = "任务id不能为空", groups = { EditGroup.class })
    private Long taskId;

    /**
     * 执行时间
     */
    //@NotNull(message = "执行时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date executeTime;

    /**
     * 参数
     */
    //@NotBlank(message = "参数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String parameters;

    /**
     * 优先级
     */
    //@NotNull(message = "优先级不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long priority;

    /**
     * 任务类型
     */
    //@NotNull(message = "任务类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long taskType;


}
